#include <SoftShadowScene.h>
Public Member Functions | |
SoftShadowScene (void) | |
~SoftShadowScene (void) | |
virtual void | initScene (GameManager &_manager) |
virtual void | clearScene () |
virtual void | renderScene (float fElapsedTime) |
virtual Node * | createNode (int type, Node &father, bool addDefaultRenderer, bool isReference) |
void | updateCamera (float dt) |
void | setupGUI () |
void | setDialogResourceManager (CDXUTDialogResourceManager *DialogResourceManager) |
void | setGUI (CDXUTDialog *GUI) |
virtual void | OnGUIEvent (UINT nEvent, int nControlID, CDXUTControl *pControl, void *pUserContext) |
void | renderGUI (float fElapsedTime) |
void | switchGUI () |
Public Attributes | |
SkyBox * | skybox |
std::vector< Object3d * > | sceneObjectList |
int | iCurrentSceneId |
LowMemLight * | light |
Protected Attributes | |
CDXUTDialogResourceManager * | DialogResourceManager |
CDXUTDialog * | GUI |
bool | bGUIVisible |
bool | bFirstGUIRendering |
Friends | |
class | ShadowSceneLoader |
SoftShadowScene::SoftShadowScene | ( | void | ) |
Constructor for SoftShadowScene object
SoftShadowScene::~SoftShadowScene | ( | void | ) |
Destructor for SoftShadowScene object
void SoftShadowScene::initScene | ( | GameManager & | _manager | ) | [virtual] |
SoftShadowScene initialization
Reimplemented from Scene.
void SoftShadowScene::clearScene | ( | ) | [virtual] |
clear SoftShadowScene data
Reimplemented from Scene.
void SoftShadowScene::renderScene | ( | float | fElapsedTime | ) | [virtual] |
Render SoftShadowScene
Reimplemented from Scene.
Node * SoftShadowScene::createNode | ( | int | type, | |
Node & | father, | |||
bool | addDefaultRenderer, | |||
bool | isReference | |||
) | [virtual] |
Create a node in this scene
Reimplemented from Scene.
void SoftShadowScene::updateCamera | ( | float | dt | ) |
Updates the Camera depending on the user input
void SoftShadowScene::setupGUI | ( | ) |
sets up the GUI
void SoftShadowScene::setDialogResourceManager | ( | CDXUTDialogResourceManager * | DialogResourceManager | ) |
Setter for the GUI ResourceManager
void SoftShadowScene::setGUI | ( | CDXUTDialog * | GUI | ) |
Setter for the GUI Object
void SoftShadowScene::OnGUIEvent | ( | UINT | nEvent, | |
int | nControlID, | |||
CDXUTControl * | pControl, | |||
void * | pUserContext | |||
) | [virtual] |
Event handling for GUI elements
Reimplemented from Scene.
void SoftShadowScene::renderGUI | ( | float | fElapsedTime | ) |
render the GUI
void SoftShadowScene::switchGUI | ( | ) |
turn GUI on/off
SkyBox object
std::vector<Object3d*> SoftShadowScene::sceneObjectList |
List of Objects in the scene
Current Scene ID
The Light Source
CDXUTDialogResourceManager* SoftShadowScene::DialogResourceManager [protected] |
dialog resource manager for the DirectX GUI
CDXUTDialog* SoftShadowScene::GUI [protected] |
the directX GUI
bool SoftShadowScene::bGUIVisible [protected] |
boolean for GUI visibility
bool SoftShadowScene::bFirstGUIRendering [protected] |
boolean which indicates the first rendering of the GUI